﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BE;
using DAL;

namespace BLL
{
	public class AlbumManager
	{
		public static string albumStringRepresentation(Album album)
		{
			return album.Id + ": " + album.Artist + " - " + album.Title + "(" + album.Year + ") #" + GenreManager.getGenres(album.Genre) + ", " + album.Price;
		}

		public static List<Album> getAllAlbums()
		{
			return DataAccess.getAllAlbums();
		}

		public static Album getAlbum(int id)
		{
			return DataAccess.getAlbum(id);
		}
	}
}
